From: Richard M. Stallman Date: Sat, 29 May 1993 05:02:18 +0000 (+0000) Subject: (MAXDESC): Get it from FD_SETSIZE if that exists. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95822 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=334c4f2ffd53c886ef40c5b768fe0e24b9579fd7;p=emacs.git (MAXDESC): Get it from FD_SETSIZE if that exists. --- diff --git a/src/process.c b/src/process.c index f2c01258774..7bada8607c7 100644 --- a/src/process.c +++ b/src/process.c @@ -235,7 +235,11 @@ int update_tick; /* We could get this from param.h, but better not to depend on finding that. And better not to risk that it might define other symbols used in this file. */ +#ifdef FD_SETSIZE +#define MAXDESC FD_SETSIZE +#else #define MAXDESC 64 +#endif #define SELECT_TYPE fd_set #else /* no FD_SET */ #define MAXDESC 32